package com.yiren.manager.form.elder;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;

public class YrElderWalletForm extends GenericForm{
	
	private static final long serialVersionUID = -236067807552123700L;

	private String elderWalletId;

	private String createId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private String elderCardId;

	private String elderId;

	private String elderName;

	private Integer remindStatus;

	private String updateId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date updateTime;

	private Float walletBalance;
	
	private String handler;
	
	private String elderBeHospitalId;
	
	private Integer version;
	
	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public String getElderBeHospitalId() {
		return elderBeHospitalId;
	}

	public void setElderBeHospitalId(String elderBeHospitalId) {
		this.elderBeHospitalId = elderBeHospitalId;
	}

	public String getHandler() {
		return handler;
	}

	public void setHandler(String handler) {
		this.handler = handler;
	}

	public String getElderWalletId() {
		return elderWalletId;
	}

	public void setElderWalletId(String elderWalletId) {
		this.elderWalletId = elderWalletId;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getElderCardId() {
		return elderCardId;
	}

	public void setElderCardId(String elderCardId) {
		this.elderCardId = elderCardId;
	}

	public String getElderId() {
		return elderId;
	}

	public void setElderId(String elderId) {
		this.elderId = elderId;
	}

	public String getElderName() {
		return elderName;
	}

	public void setElderName(String elderName) {
		this.elderName = elderName;
	}

	public Integer getRemindStatus() {
		return remindStatus;
	}

	public void setRemindStatus(Integer remindStatus) {
		this.remindStatus = remindStatus;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Float getWalletBalance() {
		return walletBalance;
	}

	public void setWalletBalance(Float walletBalance) {
		this.walletBalance = walletBalance;
	}
	
}
